home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / jluti400.zip / QU.HLP < prev    next >
Text File  |  1990-12-15  |  4KB  |  107 lines

  1. ┌─────────────────────────────────────────────────────────────────────────────┐
  2. │ Option:  QU  QUESTIONAIRE...................................................│
  3. └─────────────────────────────────────────────────────────────────────────────┘
  4.  
  5. Syntax  
  6. ═══════════════════════════════════════════════════════════════════════════════
  7. JLUTIL /QU [Parameters] [-Switches]
  8. ═══════════════════════════════════════════════════════════════════════════════
  9.  
  10. Switch Description  
  11. ═══════════════════════════════════════════════════════════════════════════════
  12. No Switches available at this time.
  13. ═══════════════════════════════════════════════════════════════════════════════
  14.  
  15. Param       Description  
  16. ═══════════════════════════════════════════════════════════════════════════════
  17. FileName    Name of the Questionaire-File.
  18. ═══════════════════════════════════════════════════════════════════════════════
  19.  
  20. Explanation  
  21. ═══════════════════════════════════════════════════════════════════════════════
  22. JLUTIL /QU displays the questionaire and stores the answers. You can
  23. specify several input formats (uppercase, numbers only etc.) and
  24. send the answers then as a msg to somebody.
  25.  
  26. The questionaire has some variables (inspect QUEST001.@JL if you want
  27. to have an example):
  28.  
  29. @@DE=    Delimiter Char
  30. @@RE=    Receiver of the Msg
  31. @@NN=    NetNode of the Receiver
  32. @@SU=    Message Subject
  33. @@AR=    MsgArea
  34. @@TI=    Title of this Questionaire; will be displayed whenever you
  35.          use the CLS Command. Delete a title with @@TI=
  36. @@CO=    Comment
  37.  
  38. ;...     ignore this line
  39.  
  40.  
  41.  
  42. GET VARIABLES FROM USER:
  43. ------------------------------------------------------------------
  44.  
  45. and now lets discuss an example line:
  46.  
  47. NET-NODE= |Enter the Net/Node of your BBS:         | 7|1|4|1|1
  48.  
  49. NET-NODE=  Variable Name within the Msg
  50. Enter....  Questiontext
  51. 1.Flag     Max. Length of the Answer
  52. 2.Flag     1: ClrLine before asking the Question
  53.            1: ClrLine after asking the Question
  54.            3: ClrLine before & after asking the Question
  55. 3.Flag     1: Length of Answer must be > 0
  56.            2: Length of Answer can  be = 0
  57. 4.Flag     1: all chars, normal
  58.            2: transform to uppercase chars
  59.            3: numbers          0123456789
  60.            4: extended numbers 0123456789/() etc.
  61. 5.Flag     1: display normal
  62.            2: invisible
  63.            3: write dots
  64. 6.Flag     1: press RETURN
  65.            2: without RETURN  (for single Char Answers)
  66.  
  67.  
  68. COMMANDS:
  69. ------------------------------------------------------------------
  70.  
  71. Command               Description
  72. --------------------- --------------------------------------------
  73. CLS                   Clear Screen
  74. GOTO :LABEL           Jump to :Label
  75. :LABEL                Label
  76. IF ...                IF CLAUSES
  77. SETFBCOLOR f,b        Set Foreground to f and Background to b
  78.                       (f,n are integer)
  79. DELAY n               Waits n milliseconds
  80.  
  81.  
  82. ;EXAMPLE:
  83. ;------------------------------------------------------
  84. :PSW
  85. SETFBCOLOR 14,0
  86. PSW=    |Enter your Password|30|3|1|1|1|1
  87. IF PSW = JuLo THEN GOTO :JULO
  88. GOTO :WRONGPSW
  89. :JULO
  90. @@CO=Hi, JuLo.
  91. @@CO=
  92. :GET_NUMBER
  93. NR= |Enter a number greater 10 |3| 5|1|3|1|1
  94. IF NR <= 10 THEN GOTO :GET_NUMBER
  95. @@CO=You've got it. Bye, Bye.
  96. @@CO=
  97. GOTO :ENDE
  98. :WRONGPSW
  99. SETFBCOLOR 12,11
  100. @@CO=WRONG PASSWORD
  101. DELAY 1000
  102. GOTO :PSW
  103. :ENDE
  104. ;------------------------------------------------------
  105. ═══════════════════════════════════════════════════════════════════════════════
  106.  
  107.